<?php echo $this->Html->css(array('konkurs'),null,array('inline'=>false));?>
<center><?php echo $this->Html->image(Configure::read('competition_domain').'/files/konkurs.kawalavazza.com/krok1.jpg')?></center>
<table style="width: 100%; margin: 0px; padding: 0px;">
	<tr>
		<td width="30%">
			<h4 class="info">Krok po kroku...</h3>
			<ol>
				<li>Udziel odpowiedzi na pytanie konkursowe „<span class="question"><?php echo $competition['Competition']['question']?></span>”</li>
				<li>Wypełnij poniższe pola, zaakceptuj regulamin i przejdź dalej.</li>
			</ol>
			
			<h4 class="info">Kontakt</h3>
			<p>
				W razie pytań służymy pomocą:<br/>
				<?php echo $this->Html->image(Configure::read('competition_domain').'/files/konkurs.kawalavazza.com/telefon.png',array('alt'=>"telefon",'align'=>"middle"))?> 504 467 887<br/>
				<?php echo $this->Html->image(Configure::read('competition_domain').'/files/konkurs.kawalavazza.com/email.png',array('alt'=>"email",'align'=>"middle"))?> konkurs@kawalavazza.com
			</p>
			</ul>
			
			<h4 class="info">Informacje dodatkowe</h3>
			<?php echo $this->Html->image(Configure::read('competition_domain').'/files/konkurs.kawalavazza.com/home.png',array('alt'=>"telefon",'align'=>"middle"))?> <a href="http://kawalavazza.com/pl/i/konkurs/9" target="_blank">strona konkursu</a><br/>
			<?php echo $this->Html->image(Configure::read('competition_domain').'/files/konkurs.kawalavazza.com/koszyk.png',array('alt'=>"telefon",'align'=>"middle"))?> <a href="http://kawalavazza.com"  target="_blank">sklep internetowy</a>
			<center><?php echo $this->Html->image(Configure::read('competition_domain').'/files/konkurs.kawalavazza.com/logo.jpg',array('alt'=>"logo",'align'=>"middle"))?></center>
		</td>
		<td width="60%">
			<?php echo $this->Form->create('CompetitionPost',array('url'=>Router::url( $this->here, true )))?>
			<?php echo $this->Form->hidden('competition_id')?>
			<?php echo $this->Form->hidden('product_url')?>
			<?php 
				$config['toolbar'] = array(
						array( 'Bold', 'Italic', 'Underline' ),
						array('NumberedList', 'BulletedList' ),						
						array( 'Link', 'Unlink' ),
						array('Paste','PasteText','PasteFromWord')
				);
				$config['height'] = 140;
				echo '<h3>'.$competition['Competition']['question'].'</h3>';
				//echo $this->Cksource->ckeditor('CompetitionPost.content',array('config'=>$config));
				echo $this->Form->input('content',array('label'=>'Treść odpowiedzi'));
				echo $this->Form->input('name',array('label'=>'Imię'));
				echo $this->Form->input('email',array('label'=>'E-mail'));
				echo $this->Form->input('accept',array('label'=>'Akceptację <a href="http://kawalavazza.com/pl/i/konkurs/9" target="_blank">regulamin</a> konkursu'));
			?>
				
			<?php echo $this->Form->end(__('Dalej'))?>						
		</td>

		<td width="10%">
			<?php echo $this->Html->image(Configure::read('competition_domain').'/files/konkurs.kawalavazza.com/nagrody.jpg')?>
		</td>		
	</tr>
</table>